ActiveReports 10
Invoke(Delegate,Object[]) Method

GrapeCity.ActiveReports.Design.Win.v10 Assembly > GrapeCity.ActiveReports.Design.ReportExplorer Namespace > ReportExplorer Class > Invoke Method : Invoke(Delegate,Object[]) Method
A delegate to a method that takes parameters of the same number and type that are contained in the args parameter.
An array of objects to pass as arguments to the specified method. This parameter can be null if the method takes no arguments.
Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments.
Syntax
'Declaration
 
Public Overloads Function Invoke( _
   ByVal method As Delegate, _
   ByVal ParamArray args() As Object _
) As Object
public object Invoke( 
   Delegate method,
   params object[] args
)

Parameters

method
A delegate to a method that takes parameters of the same number and type that are contained in the args parameter.
args
An array of objects to pass as arguments to the specified method. This parameter can be null if the method takes no arguments.

Return Value

An System.Object that contains the return value from the delegate being invoked, or null if the delegate has no return value.
See Also

Reference

ReportExplorer Class
ReportExplorer Members
Overload List